package org.example.promptword.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@TableName("prompt_template_square")
public class PromptTemplateSquare {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String content;
    private Integer type;
    private Date createTime;
    private Date updateTime;
    private Boolean deleted;

    @TableField(exist = false)
    private List<PromptTag> tags;
}
